package org.wd.extractor.main;

import java.util.List;

import org.wd.extractor.service.TrainInfoService;
import org.wd.extractor.service.TrainListService;

public class EntryPoint {

	public static void main(String[] args) {

		long begin = System.currentTimeMillis();

		List<String> list = new TrainListService().process();
		System.out.println(list);
		TrainInfoService service = new TrainInfoService();
		for (String number : list) {
			service.process(number);
		}

		System.out.println(System.currentTimeMillis() - begin + " ms");

	}

}
